package src.com.doit.Demo08练习;

public class Employee {
    private String name;
    private String id;
    private double cunKuan;
    private double gongZi;

    public Employee() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getCunKuan() {
        return cunKuan;
    }

    public void setCunKuan(double cunKuan) {
        this.cunKuan = cunKuan;
    }

    public double getGongZi() {
        return gongZi;
    }

    public void setGongZi(double gongZi) {
        this.gongZi = gongZi;
    }

    public Employee(String name, String id, double cunKuan, double gongZi) {

        this.name = name;
        this.id = id;
        this.cunKuan = cunKuan;
        this.gongZi = gongZi;
    }
}
